﻿@{
     //string nextCCID=CustomerCashCard.GetNextCallCardID(Request["custId"]); 
    var ccRefBy = CustomerManager.GetReferredCustomers("CC-PH-000000006");
    foreach(var rb in ccRefBy){
        <p>@rb.CustomerID</p>
    }
   List<dynamic> ccRbyList = new List<dynamic>();
        foreach(var cref in ccRefBy){
            var refCards = CustomerManager.GetCustomerCashCards(cref.CustomerID);
            foreach(var rc in refCards){
                ccRbyList.Add(rc);
            }
            
        }
    foreach(var cc in ccRbyList){
        <p>@cc.CashCardAppNo</p>
    }
     
}